home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="EUC-KR"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>DNS┐═ ╛╞╞──í┐═ ░ⁿ╖├╡╚ ╗τ╟╫ - Apache HTTP Server</title> <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> <link href="./images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page"><div id="page-header"> <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p> <p class="apache">Apache HTTP Server Version 2.2</p> <img alt="" src="./images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.2</a></div><div id="page-content"><div id="preamble"><h1>DNS┐═ ╛╞╞──í┐═ ░ⁿ╖├╡╚ ╗τ╟╫</h1> <div class="toplang"> <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/dns-caveats.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="./ja/dns-caveats.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="./ko/dns-caveats.html" title="Korean"> ko </a></p> </div> <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘. ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div> <p>└╠ ╣«╝¡╕ª ╟╤ ╣«└σ└╕╖╬ ┐Σ╛α╟╥ ╝÷ └╓┤┘. ╛╞╞──í░í ╝│┴ñ╞─└╧└╗ └╨└╗╢º DNS╕ª └╟┴╕╟╧┴÷╛╩╡╡╖╧ ╟╧╢≤. ╛╞╞──í░í ╝│┴ñ╞─└╧└╗ └╨┤┬╡Ñ DNS░í ╟╩┐Σ╟╧┤┘╕Θ ╝¡╣÷┤┬ ╜┼╖┌╝║ ╣«┴ª (╜├└█└╠ ╛╚╡╔ ╝÷╡╡ └╓┤┘) ╚ñ└║ ╝¡║±╜║░┼║╬ ░°░▌░· (╗τ┐δ└┌░í ┤┘╕Ñ ╗τ┐δ└┌┐í ┤δ╟╤ ┴ó▒┘└╗ ░í╖╬├ñ┤┬ ░═└╗ ╞≈╟╘╟╧┐⌐) ╝¡║±╜║╡╡╡╧(theft of service) ░°░▌┐í ╜├┤▐╕▒ ╝÷ └╓┤┘.</p> </div> <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#example">░ú┤▄╟╤ ┐╣┴ª</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#denial">╝¡║±╜║░┼║╬ (Denial of Service)</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#main">"┴╓╝¡╣÷" ┴╓╝╥</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#tips">└╠ ╣«┴ª╕ª ╟╟╟╧▒Γ└º╟╤ ╞┴</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#appendix">║╬╖╧: ╛╒└╕╖╬┤┬</a></li> </ul></div> <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="example" id="example">░ú┤▄╟╤ ┐╣┴ª</a></h2> <div class="example"><p><code> <VirtualHost www.abc.dom> <br /> ServerAdmin webgirl@abc.dom <br /> DocumentRoot /www/abc <br /> </VirtualHost> </code></p></div> <p>╛╞╞──í░í ┴ñ╗≤└√└╕╖╬ ╡┐└█╟╧▒Γ└º╟╪╝¡┤┬ ░ó ░í╗≤╚ú╜║╞«┐í ┤δ╟╪ ╡╬░í┴÷ ┴ñ║╕░í └²┤δ└√└╕╖╬ ╟╩┐Σ╟╧┤┘. └╠ ┴ñ║╕┤┬ <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>░· ╝¡╣÷░í ▒Γ┤┘╕«░φ └└┤Σ╟╥ ├╓╝╥ ╟╤░│└╟ IP ┴╓╝╥└╠┤┘. └╠ ┐╣┤┬ IP ┴╓╝╥░í ╛°▒Γ╢º╣«┐í, ╛╞╞──í┤┬ DNS╕ª ╗τ┐δ╟╧┐⌐ <code>www.abc.dom</code>└╟ ┴╓╝╥╕ª ├ú╛╞╛▀ ╟╤┤┘. ╝¡╣÷░í ╝│┴ñ╞─└╧└╗ └╨└╗╢º ╛ε╢▓ └╠└»┐í╝¡░╟ DNS╕ª ╗τ┐δ╟╥ ╝÷ ╛°┤┘╕Θ ░í╗≤╚ú╜║╞«╕ª <strong>╕╕╡Θ ╝÷ ╛°┤┘</strong>. └╠ ░í╗≤╚ú╜║╞«┤┬ ┐Σ├╗┐í └└┤Σ╟╥ ╝÷ ╛°┤┘. (╛╞╞──í 1.2 └╠└ⁿ ╣÷└ⁿ┐í╝¡┤┬ ╜╔┴÷╛ε ╝¡╣÷░í ║╬╞├╡╡ ╛╚╟╤┤┘.)</p> <p><code>www.abc.dom</code>└╟ ┴╓╝╥░í 10.0.0.1└╠╢≤░φ ░í┴ñ╟╧└┌. ▒╫╕«░φ ┤┘└╜ ╝│┴ñ└╗ ║╕╢≤:</p> <div class="example"><p><code> <VirtualHost 10.0.0.1> <br /> ServerAdmin webgirl@abc.dom <br /> DocumentRoot /www/abc <br /> </VirtualHost> </code></p></div> <p>└╠┴ª ╛╞╞──í┤┬ └╠ ░í╗≤╚ú╜║╞«└╟ <code>ServerName</code>└╗ ├ú▒Γ└º╟╪ ┐¬DNS╕ª ╗τ┐δ╟╪╛▀ ╟╤┤┘. ┐¬├ú▒Γ░í ╜╟╞╨╟╧╕Θ ╛╞╞──í┤┬ ░í╗≤╚ú╜║╞«╕ª ║╬║╨└√└╕╖╬ ▓÷┤┘. (╛╞╞──í 1.2 └╠└ⁿ ╣÷└ⁿ┐í╝¡┤┬ ╜╔┴÷╛ε ╝¡╣÷░í ║╬╞├╡╡ ╛╚╟╤┤┘.) ┴∩, └╠ ░µ┐∞ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«╢≤╕Θ ░í╗≤╚ú╜║╞«┤┬ ┐╧└ⁿ╚≈ ╡┐└█╟╧┴÷╛╩░φ, ip▒Γ╣▌└╠╢≤╕Θ ┤δ║╬║╨ ╡┐└█╟╤┤┘. ▒╫╖»│¬ ╛╞╞──í░í ╝¡╣÷╕φ└╗ ╞≈╟╘╟╧┐⌐ ╝¡╣÷└╟ └ⁿ├╝ URL└╗ ╕╕╡Θ╛ε╛▀ ╟╤┤┘╕Θ ┴ñ╗≤└√└╬ URL└╗ ╕╕╡Θ┴÷ ╕°╟╤┤┘.</p> <p>╛╞╖í ░µ┐∞ └╠ ╡╬░í┴÷ ╣«┴ª░í ╛°┤┘.</p> <div class="example"><p><code> <VirtualHost 10.0.0.1> <br /> ServerName www.abc.dom <br /> ServerAdmin webgirl@abc.dom <br /> DocumentRoot /www/abc <br /> </VirtualHost> </code></p></div> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="denial" id="denial">╝¡║±╜║░┼║╬ (Denial of Service)</a></h2> <p>(├╓╝╥╟╤) ╡╬░í┴÷ ┴╛╖∙└╟ ╝¡║±╜║░┼║╬░í ╣▀╗²╟╥ ╝÷ └╓┤┘. ╛╞╞──í 1.2 └╠└ⁿ ╣÷└ⁿ└╟ ░µ┐∞ ╛ε╢▓ ░í╗≤╚ú╜║╞«┐í╝¡╢≤╡╡ └º┐í╝¡ ╕╗╟╤ ╡╬ DNS ░╦╗÷└╠ ╜╟╞╨╟╧╕Θ ╝¡╣÷░í ─╤┴÷┴÷╡╡ ╛╩┤┬┤┘. DNS░í ┤τ╜┼└╟ ▒╟╟╤ ╣█└╟ ╣«┴ª└╧ ╝÷╡╡ └╓┤┘. ┐╣╕ª ╡Θ╛ε, <code>abc.dom</code>└╠ ░φ░┤ ╗τ└╠╞«└╠░φ ░φ░┤└╠ └┌╜┼└╟ DNS╕ª ░ⁿ╕«╟╤┤┘╕Θ, <code>www.abc.dom</code> ╖╣─┌╡σ╕ª ┴÷┐∞▒Γ╕╕ ╟╪╡╡ (1.2 └╠└ⁿ) ╝¡╣÷┤┬ ╜├└█╟╧┴÷ ╕°╟╤┤┘.</p> <p>╚╬╛└ ┤⌡ ▒│╚░╟╤ ╣µ╣²╡╡ └╓┤┘. ┤┘└╜ ╝│┴ñ└╗ ╗∞╞∞║╕└┌:</p> <div class="example"><p><code> <VirtualHost www.abc.dom> <br /> ServerAdmin webgirl@abc.dom <br /> DocumentRoot /www/abc <br /> </VirtualHost> <br /> <br /> <VirtualHost www.def.dom> <br /> ServerAdmin webguy@def.dom <br /> DocumentRoot /www/def <br /> </VirtualHost> </code></p></div> <p>┤τ╜┼└╠ <code>www.abc.dom</code>┐í 10.0.0.1, <code>www.def.dom</code>┐í 10.0.0.2╕ª ╟╥┤τ╟▀┤┘░φ ╟╧└┌. ╢╟, <code>def.dom</code>└║ └┌├╝ DNS╕ª ╗τ┐δ╟╤┤┘░φ ░í┴ñ╟╧└┌. └╠ ╝│┴ñ░· ╟╘▓▓ <code>def.dom</code>└╗ <code>abc.dom</code>└╕╖╬ ░í┤┬ ╕≡╡τ ┼δ╜┼└╗ ░í╖╬├º ╝÷ └╓┤┬ └σ╝╥┐í ╡╬╛·┤┘. ▒╫╖╕┤┘╕Θ ▒╫╡Θ└║ <code>www.def.dom</code>└╗ 10.0.0.1╖╬ ╝│┴ñ╟╧▒Γ╕╕ ╟╧╕Θ ╡╚┤┘. ▒╫╡Θ└╠ └┌├╝ DNS╕ª ╗τ┐δ╟╧▒Γ╢º╣«┐í ┤τ╜┼└║ ▒╫╡Θ└╠ ┐°╟╧┤┬╡Ñ╖╬ <code>www.def.dom</code> ╖╣─┌╡σ╕ª ╝│┴ñ╟╧┤┬ ░═└╗ ╕╖└╗ ╝÷ ╛°┤┘.</p> <p>(╗τ┐δ└┌░í <code>http://www.abc.dom/whatever</code> ╟ⁿ╜─└╟ URL└╗ └╘╖┬╟╧┤┬ ░µ┐∞╕ª ╞≈╟╘╟╧┐⌐) 10.0.0.1╖╬ ┐└┤┬ ╕≡╡τ ┐Σ├╗└╗ <code>def.dom</code> ░í╗≤╚ú╜║╞«░í ╝¡║±╜║╟╧░╘ ╡╚┤┘. ┐╓ └╠╖▒ └╧└╠ └╧╛ε│¬┤┬┴÷ └╠╟╪╟╧╖┴╕Θ ╛╞╞──í░í ╛ε╢╗░╘ ░í╗≤╚ú╜║╞«╖╬ ┐└┤┬ ┐Σ├╗└╗ ├│╕«╟╧┤┬┴÷┐í ┤δ╟╤ ╝│╕φ└╠ ╟╩┐Σ╟╧┤┘. <a href="vhosts/details.html">┐⌐▒Γ</a>┐í ┤δ░¡ ╝│╕φ╡╟└╓┤┘.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="main" id="main">"┴╓╝¡╣÷" ┴╓╝╥</a></h2> <p>╛╞╞──í 1.1┐í╝¡ <a href="vhosts/name-based.html">└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞« ┴÷┐°</a>└╠ ╞≈╟╘╡╟╛·▒Γ╢º╣«┐í ╛╞╞──í┤┬ └Ñ╝¡╣÷╕ª ╜╟╟α╟╧┤┬ ╚ú╜║╞«└╟ IP ┴╓╝╥(╡Θ)╕ª ╛╦ ╟╩┐Σ░í ╗²░σ┤┘. └╠ ┴╓╝╥┤┬ (└╓┤┘╕Θ) └ⁿ┐¬ <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code> ╚ñ└║ C ╟╘╝÷ <code>gethostname</code>└╕╖╬ (╕φ╖╔╟┴╖╥╟┴╞«┐í "hostname"└╗ └╘╖┬╟▀└╗╢º┐═ ░░└║ ░ß░·) ╛≥┤┬┤┘. ▒╫╖»╕Θ └╠ ┴╓╝╥╖╬ DNS ░╦╗÷└╗ ╟╤┤┘. ╟÷└τ └╠ ░╦╗÷└║ ╟╟╟╥ ╝÷ ╛°┤┘.</p> <p>DNS ╝¡╣÷░í ┴╫╛ε╝¡ └╠ ░╦╗÷└╠ ╜╟╞╨╟╥ ░═ ░░┤┘╕Θ <code>/etc/hosts</code>┐í ╚ú╜║╞«╕φ└╗ ┴²╛ε│╓└╗ ╝÷ └╓┤┘. (──╟╗┼═░í ┴ñ╗≤└√└╕╖╬ ║╬╞├╡╟╛·┤┘╕Θ ╛╞╕╢ └╠╣╠ ╡Θ╛ε└╓└╗ ░═└╠┤┘.) ▒╫╕«░φ DNS░í ╜╟╞╨╟╧╕Θ ╝¡╣÷░í <code>/etc/hosts</code>╕ª ╗τ┐δ╟╧┤┬┴÷ ╚«└╬╟╧╢≤. ╗τ┐δ╟╧┤┬ ┐ε┐╡├╝┴ª┐í ╡√╢≤ <code>/etc/resolv.conf</code> ╚ñ└║ <code>/etc/nsswitch.conf</code>╕ª ╝÷┴ñ╟╧╕Θ ╡╔ ░═└╠┤┘.</p> <p>╝¡╣÷░í ╛ε╢▓ └╠└»┐í╝¡░╟ DNS╕ª ░╦╗÷╟╧╕Θ ╛╚╡╚┤┘╕Θ <code>HOSTRESORDER</code> ╚»░µ║»╝÷╕ª "local"╖╬ ╝│┴ñ╟╧░φ ╛╞╞──í╕ª ╜╟╟α╟╥ ╝÷ └╓┤┘. <code class="module"><a href="./mod/mod_env.html">mod_env</a></code>╕ª ╗τ┐δ╟╧┐⌐ ╚»░µ└╗ ║»░µ╟╧┴÷ ╛╩┤┬┤┘╕Θ └╠ ╚»░µ║»╝÷┤┬ CGI┐í╡╡ ┐╡╟Γ└╗ ┴╪┤┘. ┐ε┐╡├╝┴ª└╟ manpage│¬ FAQ╕ª ┬ⁿ░φ╟╧┤┬ ░═└╠ ┴┴┤┘.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="tips" id="tips">└╠ ╣«┴ª╕ª ╟╟╟╧▒Γ└º╟╤ ╞┴</a></h2> <ul> <li> <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code>┐í IP ┴╓╝╥╕ª ╗τ┐δ╟╧╢≤ </li> <li> <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>┐í IP ┴╓╝╥╕ª ╗τ┐δ╟╧╢≤ </li> <li> ╕≡╡τ ░í╗≤╚ú╜║╞«┤┬ ╕φ╜├└√└╕╖╬ <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>└╗ ░í┴÷░╘ ╟╧╢≤ </li> <li>╛ε╢▓ ╞Σ└╠┴÷╡╡ ╝¡║±╜║╟╧┴÷╛╩┤┬ <code><VirtualHost _default_:*></code> ╝¡╣÷╕ª ╕╕╡Θ╛ε╢≤</li> </ul> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="appendix" id="appendix">║╬╖╧: ╛╒└╕╖╬┤┬</a></h2> <p>DNS┐═ ░ⁿ╖├╡╚ ╗≤╚▓└║ ╕┼┐∞ ╣┘╢≈┴≈╟╧┴÷ ╕°╟╧┤┘. ╛╞╞──í 1.2┐í╝¡ ┐∞╕«┤┬ DNS░í ╜╟╞╨╟╤ ░µ┐∞┐í╡╡ ├╓╝╥╟╤ ╝¡╣÷░í ─╤┴÷╡╡╖╧ │δ╖┬╟▀┴÷╕╕ ░ß░·┤┬ │¬╗ª┤┘. ╛ε┬╖╡τ ╝│┴ñ╞─└╧┐í ┴≈┴ó IP ┴╓╝╥╕ª ┐Σ▒╕╟╧┤┬ ░═└║ ╣°╚ú╕ª ┤┘╜├ ╝│┴ñ╟╪╛▀╟╥ ┐Σ┴≥ └╬┼═│▌┐í ╕┼┐∞ ╣┘╢≈┴≈╟╧┴÷ ╕°╟╧┤┘.</p> <p>└º┐í╝¡ ╝│╕φ╟╤ ╝¡║±╜║╡╡╡╧ ░°░▌└╗ ╕╖┤┬ ╟╤░í┴÷ ╣µ╣²└║ ░╦╗÷╟╤ IP ┴╓╝╥┐í ┤┘╜├ ┐¬DNS ░╦╗÷└╗ ╟╧┐⌐ ╡╬ └╠╕º└╗ ║±▒│╟╧┤┬ ░═└╠┤┘. ╝¡╖╬ ┤┘╕Ñ ░µ┐∞ ░í╗≤╚ú╜║╞«╕ª ░í╡┐╟╧┴÷ ╛╩└╗ ╝÷ └╓┤┘. └╠ ╣µ╣²└║ ┐¬DNS░í ┐├╣┘╖╬ ╝│┴ñ╡╟╛▀ ╟╤┤┘. (FTP ╝¡╣÷│¬ TCP wrapper░í "┴▀║╣-┐¬" DNS ░╦╗÷└╗ └┌┴╓ ╗τ┐δ╟╧▒Γ╢º╣«┐í ┤δ║╬║╨└╟ ░ⁿ╕«└┌┐í░╘ └═╝≈╟╥ ░═└╠┤┘.)</p> <p>╛ε┬╖╡τ IP ┴╓╝╥╕ª ╗τ┐δ╟╧┴÷╛╩└╕╕Θ DNS░í ╜╟╞╨╟╤ ░µ┐∞ ░í╗≤╚ú╜║╞« └Ñ╝¡╣÷╕ª ╣╧└╗ ╝÷ └╓░╘ ╜├└█╟╥ ╝÷ ╛°┤┘. ╝│┴ñ└╟ └╧║╬╕ª ╣½╜├╟╧┤┬ ░═░· ░░└║ ║╬║╨└√└╬ ╟╪░ß├Ñ└║ └Ñ╝¡╣÷ └ⁿ├╝╕ª ╜├└█╟╧┴÷╛╩┤┬ ░═║╕┤┘ ┤⌡ │¬╗▄ ╝÷╡╡ └╓┤┘.</p> <p>HTTP/1.1└╠ │¬┐╘░φ ║Ω╢≤┐∞└·┐═ ╟┴╖╧╜├░í <code>Host</code> ╟∞┤⌡╕ª ║╕│╗▒Γ ╜├└█╟▀└╕╣╟╖╬ IP▒Γ╣▌ ░í╗≤╚ú╜║╞«╕ª ┐╧└ⁿ╚≈ ╗τ┐δ╟╧┴÷╛╩┤┬ ░═└╠ ░í┤╔╟╪┴· ░═└╠┤┘. ▒╫╖»╕Θ └Ñ╝¡╣÷┤┬ ╝│┴ñ┴▀┐í╝¡ DNS ░╦╗÷└╗ ╟╥ ╟╩┐Σ░í ╛°╛ε┴°┤┘. ▒╫╖»│¬ 1997│Γ 3┐∙┐í┤┬ ┴▀┐Σ╟╤ └Ñ╝¡╣÷┐í ╞≈╟╘╟╥ ┴ñ╡╡╖╬ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«░í │╬╕« ╗τ┐δ╡╟┴÷ ╛╩╛╥┤┘.</p> </div></div> <div class="bottomlang"> <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/dns-caveats.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="./ja/dns-caveats.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="./ko/dns-caveats.html" title="Korean"> ko </a></p> </div><div id="footer"> <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p></div> </body></html>